<template>
  <div class="main">
    <div class="wind" v-show="flag">
      <div class="huodong">首存活動</div>
      <div class="top">
        <div class="til">123</div>
      </div>
      <div class="img"></div>
      <div class="word">
        活動期間：2022-03-13 00:00:00 ~ 2022-12-31 00:00:00
      </div>
      <div class="line"></div>
      <div class="xia" @click="close">關閉</div>
    </div>

    <div class="top_nav">
      <span class="span">優惠活動</span>
      <span class="span2">進度</span>
      <img src="../assets/images/211铃铛-线性.png" alt="" />
      <div class="hongdian"></div>
    </div>

    <div class="con">
      <div class="card">
        <div class="card_top">
          <div class="word">全部</div>
          <div class="san"></div>
        </div>
        <div class="card_main">
          <div class="img"></div>
          <div class="til">123456</div>
          <div class="time">
            活動期間：2022-03-13 00:00:00 ~ 2022-12-31 <br />00:00:00
          </div>
          <div class="huodong">首存活動</div>
        </div>
        <div class="card_main">
          <div class="img img2"></div>
          <div class="til">123456</div>
          <div class="time">
            活動期間：2022-03-13 00:00:00 ~ 2022-12-31 <br />00:00:00
          </div>
          <div class="huodong">充值活動</div>
        </div>
      </div>
    </div>

    <div class="fot_nav">
      <div class="nav nav1">
        <img src="../assets/images/首页.png" alt="" />
        <span>首頁</span>
      </div>
      <div class="nav nav2">
        <img src="../assets/images/礼物.png" alt="" />
        <span>優惠</span>
      </div>
      <div class="nav nav3">
        <img src="../assets/images/金币.png" alt="" />
      </div>
      <div class="nav nav4">
        <img src="../assets/images/zcpt-微信客服管理 (1).png" alt="" />
        <span>客服</span>
      </div>
      <div class="nav nav5">
        <img src="../assets/images/我的-24 (1).png" alt="" />
        <span>我的</span>
      </div>
    </div>
  </div>
</template>
  
  <script>
export default {
  data() {
    return {
      flag: true,
    };
  },
  methods:{
    close(){
      this.flag =false
    }
  }
};
</script>
  
  <style lang="less" scoped>
.main {
  height: 100vh;
  background-image: url("../assets/images/login.jpg");
  background-size: 110%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0rem 57px;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-align: left;
  position: relative;
  .con {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    .card {
      margin-bottom: 10px;
      font-size: 16px;
      width: 93%;
      border-radius: 5px;
      background: linear-gradient(180deg, #4d4c4a, #262626) !important;
      box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%),
        0 1px 5px 0 rgb(0 0 0 / 12%) !important;
      box-sizing: border-box;
      line-height: 20px;
      border: 1px solid rgb(73, 73, 73);
      display: flex;
      flex-direction: column;
      align-items: center;
      .card_top {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 48px;
        background-color: #1e1e1e;
        border-radius: 5px;
        .word {
          margin-left: 13px;
          font-size: 15px;
        }
        .san {
          margin-right: 20px;
          margin-top: 6px;
          border-top: 5px solid #ffffff;
          border-right: 5px solid rgba(59, 20, 20, 0);
          border-bottom: 5px solid rgba(70, 1, 1, 0);
          border-left: 5px solid rgba(3, 3, 3, 0);
        }
      }
      .card_main {
        width: 94%;
        background: linear-gradient(180deg, #4d4c4a, #262626) !important;
        border-radius: 15px;
        margin-top: 14px;
        position: relative;
        margin-bottom: 10px;
        .img {
          width: 100%;
          border-radius: 15px 15px 0px 0px;
          height: 110px;
          background-image: url("../assets/images/4ba175b57dc21a31927fd21293af7b45828569c9.png");
          background-size: 100% 100%;
        }
        .img2 {
          background-image: url("../assets/images/263b140c8e2b6975a659661be8274c36f5edc7f2.jpeg");
        }
        .til {
          font-size: 20px;
          margin-top: 20px;
          margin-left: 14px;
        }
        .time {
          font-size: 12px;
          color: hsla(0, 0%, 100%, 0.7);
          margin-top: 20px;
          margin-bottom: 20px;
          margin-left: 14px;
        }
        .huodong {
          width: 70px;
          height: 26px;
          line-height: 26px;
          font-size: 12px;
          border-radius: 5px;
          text-align: center !important;
          position: absolute;
          top: -3px;
          left: 20px;
          transform: skewX(-10deg);
          background: #cc0303 !important;
          color: #e9e9e9 !important;
          font-weight: bolder;
          box-shadow: 0 10px 13px -7px #000, 5px 5px 15px 5px transparent;
        }
      }
    }
  }

  .wind {
    width: 90%;
    height: 350px;
    z-index: 555;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: url(../assets/images/dialog-dark.71997c1.png) #1f1f1f !important;
    border: 2px solid #d9b687 !important;
    border-radius: 15px;
    padding: 14px;
    box-sizing: border-box;
    .huodong {
      width: 70px;
      height: 26px;
      line-height: 26px;
      font-size: 12px;
      border-radius: 5px;
      text-align: center !important;
      position: absolute;
      top: -4px;
      left: 20px;
      transform: skewX(-10deg);
      background: #cc0303 !important;
      color: #e9e9e9 !important;
      font-weight: bolder;
      box-shadow: 0 10px 13px -7px #000, 5px 5px 15px 5px transparent;
    }
    .img {
      width: 96%;
      height: 120px;
      border-radius: 10px;
      background-color: #fff;
      position: absolute;
      top: 75px;
      left: 50%;
      transform: translateX(-50%);
      background-image: url("../assets/images/4ba175b57dc21a31927fd21293af7b45828569c9.png");
      background-size: 100% 100%;
    }
    .til,
    .gonggao {
      font-size: 22px;
      color: #d3aa74;
    }
    .top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      .til {
        margin-top: 20px;
      }
      .cuo {
        color: #fff;
        font-size: 30px;
      }
    }
    .gonggao {
      margin-top: 20px;
    }
    .word {
      padding: 10px;
      color: #d9b687;
      font-size: 14px;
      line-height: 18px;
      position: absolute;
      top: 200px;
    }
    .line {
      height: 1px;
      width: 100%;
      margin-left: -15px;
      background-color: rgb(136, 136, 136);
      position: absolute;
      bottom: 80px;
    }
    .xia {
      width: 100%;
      height: 34px;
      border-radius: 5px;
      background: linear-gradient(180deg, #d3aa74, #d5994b) !important;
      line-height: 34px;
      text-align: center;
      font-size: 16px;
      margin-top: 235px;
    }
  }
  .top_nav {
    width: 100%;
    height: 56px;
    background: url("../assets/images/texture-bg-dark.4f0074c.png") repeat,
      linear-gradient(180deg, #4d4c4a, #262626) !important;
    .span {
      line-height: 56px;
      font-size: 19px;
      color: #fff;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
    .span2 {
      line-height: 56px;
      font-size: 16px;
      color: #fff;
      position: absolute;
      left: 20px;
    }
    img {
      width: 30px;
      position: absolute;
      top: 14px;
      right: 20px;
    }
    .hongdian {
      width: 6px;
      height: 6px;
      background-color: rgb(255, 0, 0);
      position: absolute;
      border-radius: 50px;
      top: 17px;
      right: 27px;
    }
  }
  .fot_nav {
    width: 100%;
    height: 56px;
    background: url("../assets/images/texture-bg-dark.4f0074c.png") repeat,
      linear-gradient(180deg, #4d4c4a, #262626) !important;
    border-radius: 20px 20px 0px 0px;
    display: flex;
    .nav {
      display: flex;
      align-items: center;
      flex-direction: column;
      img {
        width: 23px;
        margin-bottom: 1px;
        margin-top: 8px;
      }
      span {
        color: #fff;
        font-size: 12px;
      }
    }
    .nav1 {
      margin-left: 22px;
    }
    .nav2 {
      margin-left: 57px;
    }
    .nav3 {
      margin-left: 26px;
      width: 65px !important;
      height: 65px !important;
      border-radius: 26px;
      transform: rotate(-45deg);
      margin-top: -23px;
      z-index: 6;
      border: 3px solid #e9e9e9;
      box-shadow: none;
      box-shadow: -4px 3px 0 0 rgb(21 21 21 / 10%), 5px 5px 15px 5px transparent;
      background: linear-gradient(
        313deg,
        #d3aa74,
        #d3aa74 35%,
        #d9b687 37%,
        #d3aa74 53%,
        #d9b687 55%,
        #d3aa74
      );
      img {
        width: 35px;
        transform: rotate(45deg);
        margin-top: 13px;
      }
    }
    .nav4 {
      margin-left: 30px;
    }
    .nav5 {
      margin-left: 56px;
    }
  }
}
</style>
  